import {
  observable,
  action
} from "mobx-miniprogram"
export const store = observable({
  userInfo: {
    avatar: '',
    nickName: '',
    id: ''
  },
  editUserInfo: action(function (data) {
    this.userInfo = data
  })
})